package com.pro.mapper;

import com.pro.pojo.JsProduct;
import com.pro.pojo.JsUserOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName:JsUserOrder
 * Package:com.pro.mapper
 * Description:
 *
 * @Date:2021/11/8 上午 10:43
 * @Author: WYH
 */
public interface JsUserOrderMapper {
    List<JsUserOrder> getAllorder(@Param("orderPaymentChannel") String orderPaymentChannel, @Param("orderSource") String orderSource, @Param("orderStatus") String orderStatus);
    public int count(@Param("orderPaymentChannel") String orderPaymentChannel, @Param("orderSource") String orderSource, @Param("orderStatus") String orderStatus);
    Boolean delOrder(@Param("orderId") Integer orderId);
    /**
     *
     * @author ZPT
     * @date 2021/12/7 19:40
     * @content :查询各自状态对应的数量
     */
    int statusCount(@Param("orderStatus")String orderStatus);
}
